﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DTO
{
    public class CommentDetails
    {
        #region "Constructors"
        public CommentDetails()
        {
        }

        public CommentDetails(int id, DateTime addedDate, string addedBy,
           string addedByEmail, string addedByIP, int articleID, string articleTitle, string body)
        {
            this.ID = id;
            this.AddedDate = addedDate;
            this.AddedBy = addedBy;
            this.AddedByEmail = addedByEmail;
            this.AddedByIP = addedByIP;
            this.ArticleID = articleID;
            this.ArticleTitle = articleTitle;
            this.Body = body;
        }
        #endregion

        #region "Public Properties"
        public int ID { get; set; }

        public DateTime AddedDate { get; set; }

        public string AddedBy { get; set; }

        public string AddedByEmail { get; set; }

        public string AddedByIP { get; set; }

        public int ArticleID { get; set; }

        public string ArticleTitle { get; set; }

        public string Body { get; set; }
        #endregion
    }
}
